<h2>View Item</h2>
<h3>
FOR SALE:
<?= $this->escape($this->item['Title']) ?> -
<?= $this->escape($this->item['Year']) ?> - 
<?= $this->escape($this->item['Zend_Model_Grade']['GradeName']) ?>
</h3>

<div>

	<div id="images">
	<?php foreach ($this->images as $image) :?>
	<img alt="images" src="/upload/<?php echo $this->escape($image); ?>" width="150" height="150" />
	<?php endforeach; ?>
	</div>

	<div>
		<table>
			<tr>
				<td>Title: </td>
				<td><?= $this->escape($this->item['Title']) ?></td>
			</tr>
			<tr>
				<td>Type: </td>
				<td><?= $this->escape($this->item['Zend_Model_Type']['TypeName']) ?></td>
			</tr>
			<tr>
				<td>Year: </td>
				<td><?= $this->escape($this->item['Year']) ?></td>
			</tr>
			<tr>
				<td>Country: </td>
				<td><?= $this->escape($this->item['Zend_Model_Country']['CountryName']) ?></td>
			</tr>
			<tr>
				<td>Denomination: </td>
				<td><?= $this->escape(sprintf('%01.2f', $this->item['Denomination'])) ?></td>
			</tr>
			<tr>
				<td>Grade: </td>
				<td><?= $this->escape($this->item['Zend_Model_Grade']['GradeName']) ?></td>
			</tr>
			<tr>
				<td>Sale Price: </td>
				<td>
					$<?= $this->escape($this->item['SalePriceMin']) ?>-
					$<?= $this->escape($this->item['SalePriceMax']) ?>
				</td>
			</tr>
			<tr>
				<td>Description: </td>
				<td><?= $this->escape($this->item['Description']) ?></td>
			</tr>
			<?php if($this->seller == 1) :?>
			<tr>
				<td>Seller: </td>
				<td>
				<?= $this->escape($this->item['SellerName']) ?>
				<?= $this->escape($this->item['SellerAddress']) ?>
				</td>
			</tr>
			<?php endif; ?>
		</table>
	</div>
</div>